package cn.otrue.patienthealthmanager.adapter;

import java.util.Date;
import java.util.List;

import android.content.Context;
import android.view.LayoutInflater;
import android.view.View;
import android.view.ViewGroup;
import android.widget.BaseAdapter;
import cn.otrue.patienthealthmanager.R;

public class ManagetRemindListAdpater extends BaseAdapter {

	private List<Date> managerData;
	private LayoutInflater inflater;
	private Context context;

	public ManagetRemindListAdpater(Context context, List<Date> managerData) {
		super();
		this.managerData = managerData;
		this.context = context;
		inflater = LayoutInflater.from(this.context);

	}

	@Override
	public int getCount() {
		// TODO Auto-generated method stub
		return managerData.size();
	}

	@Override
	public Object getItem(int arg0) {
		// TODO Auto-generated method stub
		return arg0;
	}

	@Override
	public long getItemId(int arg0) {
		// TODO Auto-generated method stub
		return arg0;
	}

	@Override
	public View getView(int arg0, View arg1, ViewGroup arg2) {
		arg1 = inflater.inflate(R.layout.item_doctor_all_list, null);

		return arg1;

	}

}
